package de.tabuma.pm.design;

import javax.jdo.*;
import javax.jdo.annotations.*;

/**
 * @author $Author$
 * @version $Revision$
 * @since $Date$
 */
@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class Design {
    @PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    Long id;

    public Long getId() {
        return id;
    }

    @Persistent
    int projectId;
    public int getProjectId() {
        return projectId;
    }
    public void setProjectId(int projectId) {
        this.projectId = projectId;
    }

    @Persistent
    String name;
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }

    @Persistent
    String cssUrl;

    public String getCssUrl() {
        return cssUrl;
    }
    public void setCssUrl(String cssUrl) {
        this.cssUrl = cssUrl;
    }

    @Persistent
    int designType;
    public int getDesignType() {
        return designType;
    }
    public void setDesignType(int designType) {
        this.designType = designType;
    }
}
